home *** CD-ROM | disk | FTP | other *** search
- /*
- * Please do not edit this file.
- * It was generated using rpcgen.
- */
-
- #include <rpc/rpc.h>
- #include <sys/time.h>
- #define _RPCGEN_CLNT
- #include "rminfo.h"
-
- /* Default timeout can be changed using clnt_control() */
- static struct timeval TIMEOUT = { 25, 0 };
-
- rminfo1 *
- rminfoproc_get_1(void *argp, CLIENT *clnt)
- {
- static rminfo1 res;
-
- bzero((char *)&res, sizeof(res));
- if (clnt_call(clnt, RMINFOPROC_GET, xdr_void, argp, xdr_rminfo1, &res, TIMEOUT) != RPC_SUCCESS) {
- return (NULL);
- }
- return (&res);
- }
-